<?php
/**
 * Created by 荣耀电竞.
 * User: 林子彦 <278805354@qq.com>
 * Date: 2018/7/11 0011
 * Time: 9:39
 */
Route::group(['prefix'=>'admin/content'], function() {
    //权限
    Route::group(['middleware' => 'permission'], function () {
        //=======================================================新闻操作===============================================================
        Route::get('/article/index', ['uses' => 'AdminArticleController@index']);  //新闻中心
        Route::get('/article/add', ['uses' => 'AdminArticleController@add']);  //新闻添加
        Route::get('/article/info', ['uses' => 'AdminArticleController@info']);  //新闻信息
        //======================================================新闻分类操作===============================================================
        Route::get('/article/class/index', ['uses' => 'AdminArticleController@classIndex']);  //新闻的分类
    });

});